function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != "function") {
    window.onload = func;
  } else {
    window.onload = function () {
      if (oldonload) {
        oldonload();
      }
      func();
    };
  }
}

addLoadEvent(function () {
  outdatedBrowser({
    bgColor: "#1869E0",
    color: "#ffffff",
    lowerThan: "borderImage",
    languagePath: "static/outdatedbrowser/lang/zh-cn.html"
  });
});
